

#include <iostream>
using namespace std;

class Solution
{
public:
    void MyTest1()
    {
        unsigned long long cnt = 101210121012;
        cout << cnt * 24 << endl;
        //cout << sizeof(long long) << endl;
    }

    void MyTest2()
    {
        int n = 0, cnt = 0;
        const int N = 1e5 + 1;
        int a[N] = { 0 };

        cin >> n;
        for (int i = 0; i < n; ++i)
        {
            cin >> a[i];
            if (1 == a[i])
                ++cnt;
        }

        if (cnt)
        {
            cout << n - cnt;
            return;
        }

        int ans = 1e9;
        for (int i = 0; i < n - 1; ++i)
        {
            int x = a[i];

            for (int j = i + 1; j < n; ++j)
            {
                x = gcd(x, a[j]);

                if (j - i > ans)
                    break;
                if (1 == x)
                {
                    ans = j - i;
                    break;
                }
            }
        }
        cout << (1e9 == ans ? -1 : n - 1 + ans) << endl;
    }

private:
    int gcd(int a, int b)
    {
        return b ? gcd(b, a % b) : a;
    }
};

void Test()
{
    Solution().MyTest1();
}

int main()
{
    Test();

    return 0;
}